package com.zhangtai.modules.vo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import com.zhangtai.modules.entity.security.SecurityItemEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class SecurityVo {

    @ApiModelProperty(value = "社保公积金Id")
    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    private Long securityId;
    /**
     *
     */
    @ApiModelProperty(value = "社保方案名称")
    private String securityName;
    /**
     * 删除标识 0：未删除 1：已删除
     */
    @ApiModelProperty(value = "删除标识 0：未删除 1：已删除")
    private Integer isDelete;
    /**
     *
     */
    @ApiModelProperty(value = "城市名称")
    private String cityName;
    /**
     * 缴纳单位全称
     */
    @ApiModelProperty(value = "缴纳单位全称")
    private String unitName;
    /**
     * 状态 0：启用  1：停用
     */
    @ApiModelProperty(value = "状态 0：启用  1：停用")
    private Integer status;
    /**
     * 参保人数
     */
    @ApiModelProperty(value = "参保人数")
    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    private Long number;

    @ApiModelProperty(value = "类型 0：社保 1：公积金")
    private Integer type;

    @ApiModelProperty(value = "社保公积金细类")
    private List<SecurityItemEntity> securityItem;

}
